<?php

namespace App\Models\goods;

use App\Models\base\traits\HasGoods;
use Illuminate\Database\Eloquent\Model;


/**
 * App\Models\goods\GoodsCollection
 *
 * @property int $id
 * @property int $user_id
 * @property int $goods_id 收藏商品id
 * @property int $status 收藏是否有效  1是0否
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \App\Models\goods\Goods $goods
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsCollection whereUserId($value)
 * @mixin \Eloquent
 */
class GoodsCollection extends Model
{
    use HasGoods;

    protected $fillable = [
        'goods_id',
        'user_id',
        'status'
    ];
}
